Integrand size = 30, antiderivative size = 40 \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\frac {b+\left (c+a d^2\right ) x}{d^2 \sqrt {1-d^2 x^2}}-\frac {c \arcsin (d x)}{d^3} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {913, 1828, 12, 222} \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\frac {x \left (a d^2+c\right )+b}{d^2 \sqrt {1-d^2 x^2}}-\frac {c \arcsin (d x)}{d^3} \]
[In]
[Out]
Rule 12
Rule 222
Rule 913
Rule 1828
Rubi steps \begin{align*} \text {integral}& = \int \frac {a+b x+c x^2}{\left (1-d^2 x^2\right )^{3/2}} \, dx \\ & = \frac {b+\left (c+a d^2\right ) x}{d^2 \sqrt {1-d^2 x^2}}-\int \frac {c}{d^2 \sqrt {1-d^2 x^2}} \, dx \\ & = \frac {b+\left (c+a d^2\right ) x}{d^2 \sqrt {1-d^2 x^2}}-\frac {c \int \frac {1}{\sqrt {1-d^2 x^2}} \, dx}{d^2} \\ & = \frac {b+\left (c+a d^2\right ) x}{d^2 \sqrt {1-d^2 x^2}}-\frac {c \sin ^{-1}(d x)}{d^3} \\ \end{align*}
Time = 0.33 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.42 \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\frac {\frac {d \left (b+\left (c+a d^2\right ) x\right )}{\sqrt {1-d^2 x^2}}-2 c \arctan \left (\frac {d x}{-1+\sqrt {1-d^2 x^2}}\right )}{d^3} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 0.45 (sec) , antiderivative size = 151, normalized size of antiderivative = 3.78
method | result | size |
default | \(\frac {\left (-\sqrt {-d^{2} x^{2}+1}\, \operatorname {csgn}\left (d \right ) d^{3} a x -\arctan \left (\frac {\operatorname {csgn}\left (d \right ) d x}{\sqrt {-\left (d x -1\right ) \left (d x +1\right )}}\right ) c \,d^{2} x^{2}-\sqrt {-d^{2} x^{2}+1}\, \operatorname {csgn}\left (d \right ) d c x -\operatorname {csgn}\left (d \right ) d \sqrt {-d^{2} x^{2}+1}\, b +\arctan \left (\frac {\operatorname {csgn}\left (d \right ) d x}{\sqrt {-\left (d x -1\right ) \left (d x +1\right )}}\right ) c \right ) \sqrt {-d x +1}\, \operatorname {csgn}\left (d \right )}{\left (d x -1\right ) \sqrt {-d^{2} x^{2}+1}\, d^{3} \sqrt {d x +1}}\) | \(151\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 101 vs. \(2 (38) = 76\).
Time = 0.31 (sec) , antiderivative size = 101, normalized size of antiderivative = 2.52 \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\frac {b d^{3} x^{2} - {\left (b d + {\left (a d^{3} + c d\right )} x\right )} \sqrt {d x + 1} \sqrt {-d x + 1} - b d + 2 \, {\left (c d^{2} x^{2} - c\right )} \arctan \left (\frac {\sqrt {d x + 1} \sqrt {-d x + 1} - 1}{d x}\right )}{d^{5} x^{2} - d^{3}} \]
[In]
[Out]
Timed out. \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.52 \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\frac {a x}{\sqrt {-d^{2} x^{2} + 1}} + \frac {c x}{\sqrt {-d^{2} x^{2} + 1} d^{2}} - \frac {c \arcsin \left (d x\right )}{d^{3}} + \frac {b}{\sqrt {-d^{2} x^{2} + 1} d^{2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 186 vs. \(2 (38) = 76\).
Time = 0.29 (sec) , antiderivative size = 186, normalized size of antiderivative = 4.65 \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=-\frac {\frac {8 \, c \arcsin \left (\frac {1}{2} \, \sqrt {2} \sqrt {d x + 1}\right )}{d^{2}} - \frac {\frac {a d^{2} {\left (\sqrt {2} - \sqrt {-d x + 1}\right )}}{\sqrt {d x + 1}} - \frac {b d {\left (\sqrt {2} - \sqrt {-d x + 1}\right )}}{\sqrt {d x + 1}} + \frac {c {\left (\sqrt {2} - \sqrt {-d x + 1}\right )}}{\sqrt {d x + 1}}}{d^{2}} + \frac {{\left (a d^{2} - b d + c\right )} \sqrt {d x + 1}}{d^{2} {\left (\sqrt {2} - \sqrt {-d x + 1}\right )}} + \frac {2 \, {\left (a d^{4} + b d^{3} + c d^{2}\right )} \sqrt {d x + 1} \sqrt {-d x + 1}}{{\left (d x - 1\right )} d^{4}}}{4 \, d} \]
[In]
[Out]
Timed out. \[ \int \frac {a+b x+c x^2}{(1-d x)^{3/2} (1+d x)^{3/2}} \, dx=\int \frac {c\,x^2+b\,x+a}{{\left (1-d\,x\right )}^{3/2}\,{\left (d\,x+1\right )}^{3/2}} \,d x \]
[In]
[Out]